package com.woniu.his.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author TATO
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PayInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 缴费信息id
     */
    @TableId(value = "pay_id", type = IdType.AUTO)
    private Integer payId;

    /**
     * 就诊信息id
     */
    private Integer medicalId;

    /**
     * 缴费项目
     */
    private String payProject;

    /**
     * 数量
     */
    private Integer count;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 日期
     */
    private Date payTime;

    /**
     * 是否完成
     */
    private Integer status;


}
